(${input$entity} instanceof TamableAnimal _tamEnt ? (Entity) _tamEnt.getOwner():null)